package com.zjhcsoft.shop.model;
// default package

/**
 * Serial entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Serial implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private String desc;
	private Long parentid;
	private Integer ordernum;

	// Constructors

	/** default constructor */
	public Serial() {
	}

	/** minimal constructor */
	public Serial(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Serial(Long id, String name, String desc, Long parentid,
			Integer ordernum) {
		this.id = id;
		this.name = name;
		this.desc = desc;
		this.parentid = parentid;
		this.ordernum = ordernum;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return this.desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Long getParentid() {
		return this.parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public Integer getOrdernum() {
		return this.ordernum;
	}

	public void setOrdernum(Integer ordernum) {
		this.ordernum = ordernum;
	}

}